package com.lhz.pojos;

import java.io.Serializable;
import javax.persistence.*;
import java.util.Date;


/**
 * The persistent class for the not_appointment database table.
 * 
 */
@Entity
@Table(name="not_appointment")
@NamedQuery(name="NotAppointment.findAll", query="SELECT n FROM NotAppointment n")
public class NotAppointment implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@Column(name="napt_id")
	private int naptId;

	private String number;

	private int renshu;

	@Temporal(TemporalType.DATE)
	private Date riqi;

	private int status;

	@Column(name="table_name")
	private String tableName;

	public NotAppointment() {
	}

	public int getNaptId() {
		return this.naptId;
	}

	public void setNaptId(int naptId) {
		this.naptId = naptId;
	}

	public String getNumber() {
		return this.number;
	}

	public void setNumber(String number) {
		this.number = number;
	}

	public int getRenshu() {
		return this.renshu;
	}

	public void setRenshu(int renshu) {
		this.renshu = renshu;
	}

	public Date getRiqi() {
		return this.riqi;
	}

	public void setRiqi(Date riqi) {
		this.riqi = riqi;
	}

	public int getStatus() {
		return this.status;
	}

	public void setStatus(int status) {
		this.status = status;
	}

	public String getTableName() {
		return this.tableName;
	}

	public void setTableName(String tableName) {
		this.tableName = tableName;
	}

}